package com.jfeat.am.module.wegou.services.domain.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jfeat.am.module.wegou.services.domain.model.ProductModel;
import com.jfeat.am.module.wegou.services.persistence.model.Product;

import java.util.List;
import java.util.Map;

/**
 * Created by vincent on 2017/10/19.
 */
public interface QueryProductService {


    // 根据 typeName 搜索料理 (cuisine) 店， 并且根据升序 返回搜索结果

    List<Map<String,Object>> findProductByType(Page<Map<String,Object>> page,
                                         String status,
                                         String typeName,
                                         String zhTypeName,
                                         String name,
                                         String zhName,
                                         Long productTypeId,
                                         Long stireId);

    public List<Map<String,Object>> findProductByType(String status,
                                                      String typeName,
                                                      String zhTypeName,
                                                      String name,
                                                      String zhName,
                                                      Long productTypeId,
                                                      Long stireId);


    List<Map<String,Object>> findProductPage(Page<Map<String,Object>> page, Product product);
}